app.service("batchService",function ($http) {

    this.findPage = function (pageNum, pageSize,searchEntity) {
        return $http.post("../batch/findPage?pageNum=" + pageNum + "&pageSize=" + pageSize ,searchEntity);
    };

    this.download = function (downloadParam) {
        return $http.post("../batch/download",downloadParam);
    };
});